<!-- NAJCITANIJE 7 DANA -->



<div id="najcitanije_sedam_dana">
    <h3>Најчитаније - 7 дана</h3>
    <ul>
        <?php 
            foreach ($articles_sevenday as $sday) 
            {
                $link = base_url().sredinaslov($sday['title'],$sday['id'],$sday['sName']);
                ?><li class='clearfix'><h4><a href='<?=$link;?>'><?
                switch($sday['mType']){
                    case 'img':?>
                        <img src="<?=$url.'cache/'.$this->img_map->showImage($sday['mFile'],72,72,"exacttop");?>" alt="<?=$sday['caption']?>" title="<?=$sday['caption']?>" width="72" height="72" /> 
                        <?
                        break;

                    case 'yt':?>
                        <img src="<?=$url.'cache/'.$this->img_map->showImage($sday['mFile'].".jpg",72,72,"exacttop");?>" alt="<?=$sday['caption']?>" title="<?=$sday['caption']?>" width="72" height="72" /> 
                        <?
                        break;
                }
                
                ?><span><?=$sday['title'];?></span></a></h4></li><?
            }
        ?>
    </ul>
</div>